package com.novax.ex.activity.infrastructure.entity;

import com.novax.ex.common.base.BaseEntity;
import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Description ieo_currency_config IEO申购币种配置
 * @Author Cody
 * @Date 2022/12/02/11:51
*/
@Data
@EqualsAndHashCode(callSuper=true)
public class IeoCurrencyConfig extends BaseEntity {
    /**
    * 项目id
    */
    private Long ieoId;

    /**
    * 币种名称
    */
    private String currency;

    /**
    * 数量
    */
    private BigDecimal amount;

    /**
    * 权重
    */
    private BigDecimal weight;

    /**
     * 是否为计价币种 (0 = 否, 1 = 是)
     */
    private Integer isPricingCurrency;

    /**
     * 计价币种转USDT汇率
     */
    private BigDecimal usdtRate;
}